package com.swensen.game.data;

import java.awt.image.BufferedImage;
import java.security.InvalidParameterException;

/**
 * The Class BasicTile.
 */
public class BasicTile extends Tile {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4119610233618966527L;
	
	/**
	 * Instantiates a new basic tile.
	 *
	 * @param image the image
	 */
	public BasicTile(TileId id) {
		super(id, TileType.BASIC);
	}
	
	/* (non-Javadoc)
	 * @see com.swensen.game.data.Tile#getImage()
	 */
	@Override
	public TileId getImageData() {
		return id;
	}
	
	/* (non-Javadoc)
	 * @see com.swensen.game.data.Tile#getStillImage()
	 */
	@Override
	public TileId getStillImageData() {
		return id;
	}

	@Override
	public BasicTile copy() {
		return new BasicTile(id);
	}
}
